Created constructor in smarterTrends