change protocol to be as described by Pieter