added glm regression