implemented adding to favorites