implement reduction based context recommender