merged handshake