add check to make sure that parameter to poission isn't negative