added linear regression steps