tightened up logic to do with the status of the game