add solution for search for range