add switch snippet