     @accessor 'data'
 
     ready: ->
-        #
+        @oldPieData = ''
 
     onData: (data) ->
-        @oldPieData = ''
 
         #$(@node).fadeOut().fadeIn()
         @container = $(@node).parent()

        path.enter().append('path').attr('class', 'pie').attr('fill', (d, i) -> color i)

        path.transition().duration(750).attrTween('d', (d,i) ->
            #`var i`
            theOldDataInPie = @oldPieData ? piedata
            console.log('@oldPieData',@oldPieData)
            # Interpolate the arcs in data space

            else
                s0 = 0
                e0 = 0
            `var i`
            i = d3.interpolate({
                startAngle: s0
                endAngle: e0
