glm library examples