getLatestN and getNextPage