         
         if array.count == 1 {
             // Draw the one point
-            let pointStr = array[0] as! String
+            let pointStr = array[0] 
             let point = CGPointFromString(pointStr)
             drawLineFrom(point, toPoint: point, properties: properties)
         }
         
         for i in 0 ..< array.count - 1 {
-            let pointStr0 = array[i] as! String
-            let pointStr1 = array[i+1] as! String
+            let pointStr0 = array[i] 
+            let pointStr1 = array[i+1] 
             
             let point0 = CGPointFromString(pointStr0)
             let point1 = CGPointFromString(pointStr1)

        if let touch = touches.first {
            lastPoint = touch.locationInView(self)
            pointsArray = []
            pointsArray.addObject(NSStringFromCGPoint(lastPoint))
        }
    }
    

            drawLineFrom(lastPoint, toPoint: currentPoint, properties: brushProperties)
            
            lastPoint = currentPoint
            pointsArray.append(NSStringFromCGPoint(lastPoint))
        }
    }
    
