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

        for point in points {
            
            let circleLayer = CAShapeLayer()
            circleLayer.bounds = CGRect(x: 0, y: 0, width: 10, height: 10)
            circleLayer.path = UIBezierPath(ovalInRect: circleLayer.bounds).CGPath
            circleLayer.fillColor = UIColor(white: 248.0/255.0, alpha: 0.5).CGColor
            circleLayer.position = point

            circleLayer.shadowRadius = 3.0
            
            self.layer.addSublayer(circleLayer)
            
            if animates {
                circleLayer.opacity = 0
                pointLayers.append(circleLayer)
            }
        }
    }
    
