added new game logic