add pdfgen and survey