created Handshake class