started messaging code, did encoding, started decoding