added socket on/off