pdfdata working