refactor feed to base class