refactor topicScoringService