Added the switch case extension