pdf generation and generated pdfs