DOC: decoding