subclassed switch, changing how device is called in switch flip method