WIP: working on content decoding