added choice logistic