Added On/Off line mode