Implementation of rhs in poisson