basic version of communication protocol works