A switch was implemented