             return HKUnit.percentUnit()
 
         case HKQuantityTypeIdentifierBodyMass:
-            return isMetric ? HKUnit.gramUnitWithMetricPrefix(.Kilo) : HKUnit.poundUnit()
+            return metric ? HKUnit.gramUnitWithMetricPrefix(.Kilo) : HKUnit.poundUnit()
 
         case HKQuantityTypeIdentifierBodyMassIndex:
             return HKUnit.countUnit()

    public var defaultUnit: HKUnit? { return quantityType.defaultUnit }

    public var hkType: HKSampleType? { return quantityType }
}

/*

        if ( statsOption.contains(.CumulativeSum) ) {
            self.numeralValue = statistic.sumQuantity()?.doubleValueForUnit(defaultUnit!)
        }
    }

    public func unitForSystem(metric: Bool) -> HKUnit? {
        return statistic.unitForSystem(metric: metric)
    }
}

