             if(strokeLength >= 1.0) {
                 let rect = self.bounds
                 UIGraphicsBeginImageContextWithOptions(rect.size, false, UIScreen.main.scale)
-                if(signature == nil) {
-                    signature = UIGraphicsGetImageFromCurrentImageContext()
+                if(_signature == nil) {
+                    _signature = UIGraphicsGetImageFromCurrentImageContext()
                 }
                 // Draw the prior signature
-                signature?.draw(in: rect)
+                _signature?.draw(in: rect)
                 
                 let delta:CGFloat = 0.5
                 let strokeScale:CGFloat = 50 // fudge factor based on empirical tests

        let rect = self.bounds
        
        UIGraphicsBeginImageContextWithOptions(rect.size, false, UIScreen.main.scale)
        if(signature == nil) {
            signature = UIGraphicsGetImageFromCurrentImageContext()
        }
        signature?.draw(in: rect)
        let currentPoint = tap.location(in: self)
        drawPointAt(currentPoint, pointSize: 5.0)
        signature = UIGraphicsGetImageFromCurrentImageContext()
        UIGraphicsEndImageContext()
        self.setNeedsDisplay()


                
                drawQuadCurve(previousEndPoint, control: previousPoint, end: midPoint, startWidth:previousWidth, endWidth: currentWidth)
                
                _signature = UIGraphicsGetImageFromCurrentImageContext()
                UIGraphicsEndImageContext()
                previousPoint = currentPoint
                previousEndPoint = midPoint
