debugging scanning of pages