removed is_favorites from the code.