working
writeHtml