added logistic example