Changed the method to return valid html