     @objc optional func arcAnimationDidStop()
 }
 
-
 // Nothing to see here , it is just a Pi
 
 let π: CGFloat = CGFloat(M_PI)
 
-
-
 // convenicence inits
 
-
 extension KXThumbCircularProgressBar {
-
+    
     public convenience init(ringWidth: CGFloat, ringHeight: CGFloat) {
         
         self.init(ringWidth: ringWidth, ringHeight: ringHeight,backgroundColor: UIColor.clear, ringBackgroundColour: UIColor(netHex: 0xaba8a8),  ringForegroundColour: UIColor.green, foreGroundArcWidth: 20, backGroundArcWidth: 8, arcStartAngle: 120, arcEndAngle: 60, arcMargin: 75)
-        
-        }
-    
+    }
     
     public convenience init(ringWidth: CGFloat, ringHeight: CGFloat, backgroundColor: UIColor, ringBackgroundColour: UIColor, ringForegroundColour: UIColor) {
         
-         self.init(ringWidth: ringWidth, ringHeight: ringHeight, backgroundColor: backgroundColor, ringBackgroundColour: ringBackgroundColour,  ringForegroundColour: ringForegroundColour, foreGroundArcWidth: 20, backGroundArcWidth: 8, arcStartAngle: 120, arcEndAngle: 60, arcMargin: 75)
-
-        }
-    
-    
-    public convenience init(ringWidth: CGFloat, ringHeight: CGFloat,arcStartAngle: CGFloat,
-                            arcEndAngle: CGFloat, arcMargin: CGFloat) {
+        self.init(ringWidth: ringWidth, ringHeight: ringHeight, backgroundColor: backgroundColor, ringBackgroundColour: ringBackgroundColour,  ringForegroundColour: ringForegroundColour, foreGroundArcWidth: 20, backGroundArcWidth: 8, arcStartAngle: 120, arcEndAngle: 60, arcMargin: 75)
+    }
+    
+    
+    public convenience init(ringWidth: CGFloat, ringHeight: CGFloat,arcStartAngle: CGFloat, arcEndAngle: CGFloat, arcMargin: CGFloat) {
         
         self.init(ringWidth: ringWidth, ringHeight: ringHeight,backgroundColor: UIColor.clear, ringBackgroundColour: UIColor(netHex: 0xaba8a8),  ringForegroundColour: UIColor.green, foreGroundArcWidth: 20, backGroundArcWidth: 8, arcStartAngle: arcStartAngle, arcEndAngle: arcEndAngle, arcMargin: arcMargin)
-        }
-    
+    }
 }
 
-
 //Designable core code
 
 @IBDesignable public class KXThumbCircularProgressBar: UIView {
-    
-    
-    
-    
     
     // ring background properties
     
     @IBInspectable public var ringBackgroundColour: UIColor = UIColor(netHex: 0xaba8a8)
     @IBInspectable public var ringForegroundColour: UIColor = UIColor.green
-    
-    
-    
     
     //This part is still under testing
     

        layer.addSublayer(ringLayer)
        animateArc(loaderValue: CGFloat(self.animateScale)) // changed here
    }
    
    
    
    
    
    private func backgroundArc() {
        

    @IBInspectable public var backGroundArcWidth: CGFloat   = 8
    
    
    // turn this on to show image at the arc leading tip
    
    @IBInspectable public var isthumbImageAvailable: Bool = false
    @IBInspectable public var thumbImage: UIImage?
