rework decoding.