working on stanza decoding/encoding