added handshake event