need a better way to handle the game objects