Adding get trends call in the main class