added ranged search to queue dao