Added code on index to get trending