Committing before building a glm