complete handshake