more work on the decoding pipline.