Generate text that is semantically similar to this text: when the switch and the bulb are contained in the same path
a switch will affect a bulb it the bulb and the switch are in the path as the battery