search for range