enable users to exit by typing exit