Moving glm over to shared