refactoring html template