Generate text that is semantically similar to this text: when the switch and the bulb are contained in the same path
if the bulb and the switch are contained by a closed path then the switch affects the bulb .