add basic handshake