modified the communication protocol