     }
 
     func controlSetup() {
-        backgroundColor = UIColor.clear
-        tintColor = UIColor.white
 
         translatesAutoresizingMaskIntoConstraints = false
         movingView = UIView(frame: frame)

    }

    func calculateElementSizes() {
        circleRadius = min(self.frame.height, self.frame.width) * 0.6
    }

    func getAngle(_ point: CGPoint, layer: CALayer, rect: CGRect) -> CGFloat {

    // MARK: - Draw elements

    override open func draw(_ rect: CGRect) {
        self.drawProgressBackCircle(rect)
        self.drawConnector(rect)
        self.drawDot1(rect)
        self.drawDot2(rect)
        self.bringSubview(toFront: movingView)
        rotateMovingView()
    }

    func drawDot1(_ rect: CGRect) {
