                                      endAngle: innerEndAngle,
                                      clockwise: true)
         
-        innerPath.lineWidth = innerRingWidth
-        innerRingColor.setStroke()
-        innerPath.lineCapStyle = inStyle
-        innerPath.stroke()
+        shapeLayer.path = innerPath.cgPath
+        shapeLayer.strokeColor = innerRingColor.cgColor
+        shapeLayer.fillColor = UIColor.clear.cgColor
+        shapeLayer.lineWidth = innerRingWidth
+        shapeLayer.strokeEnd = 1.0
+        shapeLayer.lineCap = kCALineCapRound
+        shapeLayer.lineJoin = kCALineCapRound
+        
+        self.layer.addSublayer(shapeLayer)
     }
     
     /// Draws the value label inside of the progress rings

    }
    
    public func setValue(_ newVal: CGFloat, animated: Bool) {
        if animated {
            
        }
        
        self.value = newVal
    }
}

            self.setNeedsDisplay()
        }
    }
    @IBInspectable public var showFloatingPoint: Bool = false {
        didSet {
            self.setNeedsDisplay()
        }
    }
    
    public var animationDuration: CFTimeInterval = 1.0
    public var animationStyle: String = kCAMediaTimingFunctionEaseIn
    
    private lazy var shapeLayer = CAShapeLayer()
    
    
    // MARK: Methods
