 
         rotateConnector(connector, forAngle: angle)
 
-        movingView?.layer.addSublayer(connector)
+        movingView.layer.addSublayer(connector)
         connectorLayer = connector
-        movingView?.setNeedsLayout()
+        movingView.setNeedsLayout()
     }
 
     func drawProgressBackCircle(_ rect: CGRect) {

    func drawDot1(_ rect: CGRect) {
        let angle = CGFloat(0)
        dot1Layer = drawDot(angle, rect:rect, color: UIColor.blue)
        movingView?.layer.addSublayer(dot1Layer!)
    }

    func drawDot2(_ rect: CGRect) {

        self.drawConnector(rect)
        self.drawDot1(rect)
        self.drawDot2(rect)
        self.bringSubview(toFront: movingView)
        rotateMovingView()
    }

