simplified example to use built-in poisson generation