started adding game logic