support scanning of roots and ranges