Adding a switch to pong