added switch struct