restructure the game