loadNextPage refactoring