added notes about Poisson process and removed bad code