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

                        let minAndMaxValues = [statisticsMaxValues, statisticsMinValues]
                        let minAndMaxValuesData = NSKeyedArchiver.archivedDataWithRootObject(minAndMaxValues)
                        Defaults[key] = minAndMaxValuesData
                        dispatch_group_leave(group)//leave main group
                    })
                } else if type == HKQuantityTypeIdentifierBloodPressureSystolic {//we should also get data for HKQuantityTypeIdentifierBloodPressureDiastolic

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