Renamed open state to off, and closed to on. Prevents confusion