mods to glm test