generating the new htmls