implementation for quit_message