reworking "quit"