added addFavorite