updated protocol to use either rotor