Some changes to recommendationProvider