refactor to test pagination with fewer squeeks