Removed use of exit