add generalized linear model