added beginnings for pdf creation to reports.