First set of code to generate insights