Continue implementing handshake, doesn't work