base logistic and nb