added logistic regression class