put intermediate results into code context