design and code for the feed