fitting generalized linear mixed models