add logistic

add logistic