logistic regression stuff
fixed it