cleaning up recommender class