Pulled out getRandomTopic method