refactor, add paging to ListFoo