next step impliment glm