refactored setFeed