changes to linear regression