Removed debugging exit statement