Added exit statement