Added more comments to the switch case