got the basic handshake working