view base class, added on/off switch