adding handshake information