change handshake signature