         self.addCircleAnimation()
 //        self.addSecondCircleAnimation()
         self.addFadeOut()
-        if(!self.green) {
+        if(!self.willFillColor) {
             self.endView(self.animationDuration)
         }
     }

    
    func addCircleAnimation() {
        
        let randomNumber = DYUtil.randomBetweenNumbers(0.1, secondNum: 4.0)
        
        let circleAnimation = CABasicAnimation(keyPath: "transform.scale")
        circleAnimation.duration = self.animationDuration

        circleAnimation.removedOnCompletion = false
        circleAnimation.fromValue = NSNumber(float: 0.1)
        circleAnimation.toValue = NSNumber(float: randomNumber)
        if(self.willFillColor) {
            circleAnimation.toValue = NSNumber(float: 3)
            circleAnimation.fillMode = kCAFillModeForwards
        }
        circleAnimation.delegate = self.animationDelegate
        self.layer.addAnimation(circleAnimation, forKey: "scale")
    }
    
    func randomBetweenNumbers(firstNum: CGFloat, secondNum: CGFloat) -> Float {
        return Float(CGFloat(arc4random()) / CGFloat(UINT32_MAX) * abs(firstNum - secondNum) + min(firstNum, secondNum))
    }
    
    //  Not used at the moment
