added state and if section for state "off"