adding logistic test