add switch command