change the structure of the protocol