CONNECT and DISCONNECT implemented and working