add function quit game