change to allow multiple pdfs