using GLM now