Move Trending Type detection to