calculating integrals done