use one quit game function