html and pdf output added