Removed the need for assigning  in getHTML