added showQuit method