removed rougue exit statement