include promise index in replying to a handshake