Trying to figure out removeSwitch stuff.