Added an exit statement