added logistic regression