         anim.repeatCount = HUGE
         anim.fromValue = 0
         anim.toValue = M_PI * 2
-        layer.addAnimation(anim, forKey: LotateAnimationKey)
+        indicatorView.layer.addAnimation(anim, forKey: LotateAnimationKey)
         
         nextAnimation()
     }
     
     public func stopAnimation() {
-        layer.removeAnimationForKey(LotateAnimationKey)
+        indicatorView.layer.removeAnimationForKey(LotateAnimationKey)
         pathLayer = nil
     }
     
     private func nextAnimation() {
         intervalAnimationsHandler?(self)
         
-        if layer.animationForKey(LotateAnimationKey) == nil {
+        if indicatorView.layer.animationForKey(LotateAnimationKey) == nil {
             return
         }
         
         let shapeLayer = rotateLayer()
-        layer.addSublayer(shapeLayer)
+        indicatorView.layer.addSublayer(shapeLayer)
         
         pathLayer = shapeLayer
         

    public var intervalAnimationsHandler: ((SpringIndicator) -> Void)?
    
    public override init(frame: CGRect) {
        super.init(frame: frame)
        
        backgroundColor = UIColor.clearColor()
    }
    
    public required init(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }
    
    private func incrementAnimationCount() -> CGFloat {

    }
    
    public func startAnimation() {
        if indicatorView.layer.animationForKey(LotateAnimationKey) != nil {
            return
        }
        
