Added favourites and mentions. Optimized code.