implemented linear regression model without great affect.