adding logistic regression