ping pong is now a class