added factors on logistic