adding HTML generation