beginning html refactor