put if statements in subclasses to control light on/off based on switched_on boolean