use cursor for next_page when available