GENERATING PDFS