         - returns: array of double values with statistics
     */
     public func getStatisticForPeriod(statisticsRange: HealthManagerStatisticsRangeType, forType type: String, completion: (statisticsVlues: [Double]) -> Void) {
-        print("type - \(type)")
         guard let quantityType = HKObjectType.quantityTypeForIdentifier(type) else {
             fatalError("*** Unable to create a \(type) count type ***")
         }

    }
    
    public func collectDataForCharts() {
        let periods: [HealthManagerStatisticsRangeType] = [HealthManagerStatisticsRangeType.Week, HealthManagerStatisticsRangeType.Month, HealthManagerStatisticsRangeType.Year]
        let group = dispatch_group_create()
        for sampleType in PreviewManager.manageChartsSampleTypes {
            let type = sampleType.identifier == HKCorrelationTypeIdentifierBloodPressure ? HKQuantityTypeIdentifierBloodPressureDiastolic : sampleType.identifier
            if #available(iOS 9.3, *) {
                if type == HKQuantityTypeIdentifierAppleExerciseTime {
                    continue
                }
            }
            for period in periods {
                let key = UserManager.sharedManager.userId! + type + "\(period.rawValue)"
                //enter main group
                dispatch_group_enter(group)

            Defaults.setObject(NSDate(), forKey: lastChartsDataCacheKey)
            Defaults.synchronize()
            NSNotificationCenter.defaultCenter().postNotificationName(HMDidUpdatedChartsData, object: nil)
            print("END TIME - \(NSDate())")
        }
    }
    
