Applications of poisson distribution