skeleton for linear regression model