mode hard code to html template