comment to pdfCreater and removal of unused code