_get_pages grew a third argument