updated Design for HTML Generation