added trainTopics