added break; to switch case