create proper handshake