adoption to protocol format version 1 and multiple messages