making the game work!