Reading the PDF in correctly now, in decent time