removed logging
refactor pdfs