refactoring html for new css