Added integrate()