first pass at GLMmodel