changes made to allow measuring diversity and popularity of topN recommendations.