adding topic_html function