first methods for gamelogic