Added base for pdf generation