 		var newPoint = touch!.locationInView(self)
 		
 		let line = DrawingLine(start: lastPoint, end: newPoint, color: drawColor, width: lineWidth)
-		lines.append(line)
-		currentLines.append(line)
+//		lines.append(line)
+//		currentLines.append(line)
+//		lastPoint = newPoint
+//		
+//		let imageRect = self.frame
+//		let imageSize = imageRect.size
+//		
+//		UIGraphicsBeginImageContext(imageSize)
+////		if preRenderImage != nil {
+////			preRenderImage.drawInRect(imageRect)
+////		}
+//		
+//		let context = UIGraphicsGetCurrentContext()
+//		for line in lines {
+//			CGContextSetLineWidth(context, line.width)
+//			CGContextSetLineCap(context, kCGLineCapRound)
+//			CGContextMoveToPoint(context, line.start.x, line.start.y)
+//			CGContextAddLineToPoint(context, line.end.x, line.end.y)
+//			CGContextSetStrokeColorWithColor(context, line.color.CGColor)
+//			CGContextStrokePath(context)
+//		}
+//		
+//		preRenderImage = UIGraphicsGetImageFromCurrentImageContext()
+//		UIGraphicsEndImageContext()
+//		
+//		setNeedsDisplay()
+		
+		bezierPath.moveToPoint(line.start)
+		bezierPath.addLineToPoint(line.end)
+		
 		lastPoint = newPoint
-		
-		let imageRect = self.frame
-		let imageSize = imageRect.size
-		
-		UIGraphicsBeginImageContext(imageSize)
-//		if preRenderImage != nil {
-//			preRenderImage.drawInRect(imageRect)
-//		}
-		
-		let context = UIGraphicsGetCurrentContext()
-		for line in lines {
-			CGContextSetLineWidth(context, line.width)
-			CGContextSetLineCap(context, kCGLineCapRound)
-			CGContextMoveToPoint(context, line.start.x, line.start.y)
-			CGContextAddLineToPoint(context, line.end.x, line.end.y)
-			CGContextSetStrokeColorWithColor(context, line.color.CGColor)
-			CGContextStrokePath(context)
-		}
-		
-		preRenderImage = UIGraphicsGetImageFromCurrentImageContext()
-		UIGraphicsEndImageContext()
 		
 		setNeedsDisplay()
 	}

	var drawColor = UIColor.blackColor()
	var lineWidth: CGFloat = 5
	
	private var preRenderImage: UIImage!
	
	override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
		let touch: AnyObject? = touches.first

//			CGContextSetStrokeColorWithColor(context, line.color.CGColor)
//			CGContextStrokePath(context)
//		}
//		if preRenderImage != nil {
//			preRenderImage.drawInRect(rect)
//		}
		super.drawRect(rect)
		
		bezierPath.stroke()
	}

	func clear() {
