decoding of messages