     
     @IBOutlet weak var lblSteps: UILabel!
     
+    
     override func viewDidLoad() {
         super.viewDidLoad()
         // Do any additional setup after loading the view, typically from a nib.
-  
-  
+        self.loadWeightArray()
+        self.selectUserWeight()
         self.stepCounter = StepCounter(healthStore: healthStore, delegate: self);
-      
+        
     }
   
     override func viewDidAppear(animated: Bool) {

    }
    
    func selectedRowInComponent(component: Int) -> Int {
        return 2
    }



  
    var progress: Int = 0
    
    var kgArray = [String]()
    
    var greenColor = UIColor(red: CGFloat(84.0/255.0), green: CGFloat(174.0/255.0), blue: CGFloat(58.0/255.0), alpha: CGFloat(1.0))
  
    var healthStore : HKHealthStore = HKHealthStore()
  
    var stepCounter : StepCounter?
    
    let defaultUserWeight = 65
    
    let maxUserWeight = 150
    
    var userWeight = 65
  
    @IBOutlet weak var weightPicker: UIPickerView!
  
