Removed the exit function