pdfannotation: Missed changing now to a function