added a scale switch: turn on/off