finishing logistic regression