correct logistic fn naming