exit statement if user switch is required