removed added exit statement