         self.layer.sublayers?.forEach({ (layer: CALayer) -> () in
             layer.removeFromSuperlayer()
         })
+        pointLayers.removeAll()
         
         drawSmoothLines()
         drawPoints()
+        
+        animateLayers()
     }
     
     private func drawPoints(){

        lineLayer.shadowRadius = 6.0
        
        self.layer.addSublayer(lineLayer)
    }
}

            }
        }
        
        lineLayer = CAShapeLayer()
        lineLayer.path = linePath.CGPath
        lineLayer.fillColor = UIColor.clearColor().CGColor
        lineLayer.strokeColor = lineColor.CGColor
