downloading pdfs works