linear model class finished