refactored HTML