allows user to quit