modified recommendation algorithm