working with PDFReader and universal code