WIP: moving page scans to cursor