added linear model