implementing CONNECT