refactored topic.html