building feed functionality