Move functions to pong object