Implement SetSwitch