more deleting code:  no more decode_context, trimmed dead code