Rechanged the game flow