added part of the flow of the game