finish the protocol