This figure shows the switch case.