integral and boundaries are required arguments