Pong example is mostly functional