refactor and display topic list