         var mask = CAShapeLayer()
         
         mask.frame = self.frame
-        let path = drawSlice(start, end: end)
+        let path = computeTrioPath(start, end: end)
         mask.path = path.animationBezierPath.CGPath
-        mask.lineWidth = properties.bigRadius-properties.smallRadius
+        mask.lineWidth = properties.bigRadius - properties.smallRadius
         mask.strokeColor = color.CGColor
         mask.fillColor = color.CGColor
         

    var originalTransform:CGAffineTransform!

    var pieChartCenter:CGPoint = CGPointZero
  
    override init(frame: CGRect) {
        super.init(frame: frame)

        
        if(openedSlice == slicesArray[cpt].shapeLayer) {
            openedSlice = nil
            oldSelected = -1
            return
        }
        
