move protocol to PROTOCOL