added rendering to html