         isComplete = true
         isRotating = false
         
-        let greenView = completeView(UIColor.green.lighter)
+        let greenView = makeCompleteView(with: UIColor.green.lighter)
         
         let bezierPath = UIBezierPath()
         bezierPath.lineCapStyle = .round

                }, completion: nil)
        }
        
        progressLayer.add(springAnimation("strokeEnd", fromValue: progress, toValue: newProgress), forKey: nil)
        progress = newProgress
        progressLayer.strokeEnd = newProgress
    }

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