adding UIASwitch + related methods