isSwitch is not used.