added poisson and uniform distribution for time simulation