updated protocol for message queue