integrate pdfs