working on pdf downloads and conversion