removed the exit strings in the switch case