added linear model without knitr