extended handshaking