a few changes in the regression stuff at the bottom...