added glm plot