some work on downloading pdfs