you gotta decode to encode to decode