gets data for topics list