pub fn within_range<T>(low: T, val: T, high: T) -> bool where
    T: PartialOrd<T>,