added a switch case section