adding support for range scanning of views