The origin of the handshake