added html and tmpl