Listtopics refactoring