Added functionality of the html