new function added to html