add skeleton for search for range function