codes added to protocol.txt