working on integrals