added content and pdf generation