     }
     
     
-    func startAnimatingWithDuration(duration : Double,toPercent percent:Int) {
+    public func startAnimatingWithDuration(duration : Double,toPercent percent:Int) {
         self.timer.invalidate()
         self.percentToDone = percent
         let timerTick = Double(duration/Double(percent))

        
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

    
    
    
    public var labelColor : UIColor = .whiteColor() {
        willSet(color) {
            percentLbl.textColor = color
        }
    }
    
    public var trackThinkest : CGFloat  = KDCircularProgress().trackThickness {
        willSet(value) {
            circleProgres.trackThickness = value
        }
    }
    
    public var trackColor : UIColor = KDCircularProgress().trackColor {
        willSet(color) {
            print("set color")
            circleProgres.setColors(color)
        }
    }
    
    public var progressThickness : CGFloat  = KDCircularProgress().progressThickness {
        willSet(value) {
            circleProgres.progressThickness = value
        }
    }
    
    public var progressColors : [UIColor] = KDCircularProgress().progressColors {
        willSet(colors) {
            circleProgres.progressColors = colors
        }
    }
    
    
    public var angle : Double = KDCircularProgress().angle {
        willSet(value) {
            circleProgres.angle = value
        }
    }
    
    
    public var startAngle : Double = -90 {
        willSet(value) {
            circleProgres.startAngle = value
        }
    }
    
    
    public var clockwise : Bool = KDCircularProgress().clockwise {
        willSet(value) {
            circleProgres.clockwise = value
        }
    }
    
    
    public var roundedCorners : Bool = KDCircularProgress().roundedCorners {
        willSet(value) {
            circleProgres.roundedCorners = value
        }
    }
    
    
    public var gradientRotateSpeed : CGFloat  = KDCircularProgress().gradientRotateSpeed {
        willSet(value) {
            circleProgres.gradientRotateSpeed = value
        }
    }
    
    
    public var glowAmount : CGFloat  = KDCircularProgress().gradientRotateSpeed {
        willSet(value) {
            circleProgres.glowAmount = value
        }
    }
    
    
    public var glowMode : KDCircularProgressGlowMode  = KDCircularProgress().glowMode {
        willSet(value) {
            circleProgres.glowMode = value
        }
    }
    
    
    public var progressInsideFillColor : UIColor = .clearColor() {
        willSet(color) {
            circleProgres.progressInsideFillColor = color
        }
