         let parser = XMLParser(contentsOf: svgFileUrl)!
         parser.delegate = self
         parser.parse()
-        print(pointStrings!)
-        return FittingPolygon(svgPointsString: pointStrings!)
+        return FittingPolygon(svgPointsString: pointString!)
     }
 
-    var pointStrings: String?
+    var pointString: String?
 }
 
 extension PolygonLoader: XMLParserDelegate {

    @IBOutlet var containerImageView: UIImageView!
    @IBOutlet var overlayImageView: UIImageView!
    @IBOutlet var tapGesture: UITapGestureRecognizer!

    override func viewDidLoad() {
        super.viewDidLoad()
        applyTranformation()
    }

    @IBAction func didTap(_ sender: UITapGestureRecognizer) {
        UIView.animate(withDuration: 0.5) {
            self.overlayImageView.layer.transform = CATransform3DIdentity
        }
    }

    func applyTranformation() {
        let start = Perspective(overlayImageView.frame)
        let transform = FittingPolygon.loadFromSvgFile()
        var destination = Perspective(overlayImageView.frame)
        print("transform.points:", transform.points)
        destination = Perspective(transform.points)
        overlayImageView.layer.transform = start.projectiveTransform(destination: destination)
    }

}

            points.append(CGPoint(x: x, y: y))
        }
        assert(points.count == 4, "should have 4 point")
        points = [points[3], points[0], points[2], points[1]]
    }

    class func loadFromSvgFile() -> FittingPolygon {
