implemented mutex locking the recommendations list