rough draft of communication protocol