Added pdf rendering