added quit_game method