minor changes to protocol