Converting the rest of the code to use Html class