checked against glm