refactored some html