add low-level code thing to Regression