   
   override func viewDidLayoutSubviews() {
     super.viewDidLayoutSubviews()
+    
     self.circleSlider.frame = self.sliderArea.bounds
     self.circleProgress.frame = self.progressArea.bounds
+    self.valueLabel.center = CGPoint(x: self.circleSlider.bounds.width * 0.5, y: self.circleSlider.bounds.height * 0.5)
+    self.progressLabel.center = CGPoint(x: self.circleProgress.bounds.width * 0.5, y: self.circleProgress.bounds.height * 0.5)
   }
   
   private func buildCircleSlider() {

    self.progressArea.addSubview(self.circleProgress!)
    self.progressLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
    self.progressLabel.textAlignment = .center
    self.progressLabel.center = CGPoint(x: self.circleProgress.bounds.width * 0.5, y: self.circleProgress.bounds.height * 0.5)
    self.circleProgress.addSubview(self.progressLabel)
  }
  

    self.sliderArea.addSubview(self.circleSlider!)
    self.valueLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
    self.valueLabel.textAlignment = .center
    self.circleSlider.addSubview(self.valueLabel)
  }
  
