finishing logistic regression model