refactored: cleaned up html