handshaking skeleton complete