why exit on the end? Isn't that natural behaviour?