Finished all conversion to glm