more pdfgenerator stuff