organized code, fixed online count, ping pong