running logistic and poisson simulations