         bezierPath.addLine(to: CGPoint(x: 0.41667 * frame.width, y: 0.68750 * frame.height))
         bezierPath.addLine(to: CGPoint(x: 0.75000 * frame.width, y: 0.35417 * frame.height))
         
-        let greenViewShapeLayer = shapeLayer(bezierPath)
+        let greenViewShapeLayer = makeShapeLayer(with: bezierPath)
         greenView.layer.addSublayer(greenViewShapeLayer)
         greenViewShapeLayer.anchorPoint = CGPoint(x: 0, y: 0)
         

        progressLayer.add(rotationAnimation, forKey: "rotationAnimation")
    }
    
    fileprivate func springAnimation(_ keyPath: String, fromValue: Any, toValue: Any) -> CASpringAnimation
    {
        let animation = CASpringAnimation(keyPath: keyPath)
        animation.fromValue = fromValue

        return shapeLayer
    }
    
    fileprivate func makeCompleteView(with color: UIColor) -> UIView
    {
        let view = UIView()
        view.translatesAutoresizingMaskIntoConstraints = false
