added linear model analysis