abbreviated switch case