     var expandRadius: CGFloat!
     var timer: NSTimer!
     var isAnimating = false
-    var animatingIndex: Int = 0
     var isExpand = false {
         didSet {
             

        rotateAnimation.keyTimes = [NSNumber(float: 0.0), NSNumber(float: 0.4), NSNumber(float: 0.5)]
        rotateAnimation.fillMode = kCAFillModeForwards
        rotateAnimation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseIn)
        item.layer.addAnimation(rotateAnimation, forKey: "Close")
        
        UIView.animateWithDuration(PuttonConstants.defaultAnimationDuration, animations: {
            item.center = self.startButton.center
        })
        
        if self.animatingIndex >= self.expandItems.count {
            self.isAnimating = false
            self.timer.invalidate()
            self.timer = nil
            self.animatingIndex = 0
        }
    }
}

    
    func expandPuttonItems() {
        
        for (var i = 0; i < self.expandItems.count; i++) {
            let item = self.expandItems[i] as! PuttonItem
            UIView.animateWithDuration(PuttonConstants.defaultAnimationDuration, delay: 0.0, usingSpringWithDamping: 0.5, initialSpringVelocity: 0.0, options: UIViewAnimationOptions.allZeros, animations: {
                
                item.transform = CGAffineTransformMakeRotation(CGFloat(PuttonConstants.defaultExpandRotation))
                item.center = item.expandPoint
                
                }, completion: nil)
        }
        
        self.isAnimating = false
        self.timer.invalidate()
        self.timer = nil
    }
    
    func closePuttonItems() {
        
        let rotateAnimation = CAKeyframeAnimation(keyPath: "transform.rotation.z")
        rotateAnimation.values = [NSNumber(double: 0.0), NSNumber(double: PuttonConstants.defaultCloseRotation), NSNumber(double: 0.0)]
