                 qualifiedName qName: String?,
                 attributes attributeDict: [String : String] = [:]) {
         if elementName == "polygon" {
-            pointStrings = attributeDict["points"]?.trimmingCharacters(in: .whitespacesAndNewlines)
+            pointString = attributeDict["points"]?.trimmingCharacters(in: .whitespacesAndNewlines)
         }
     }
 }

        let parser = XMLParser(contentsOf: svgFileUrl)!
        parser.delegate = self
        parser.parse()
        print(pointStrings!)
        return FittingPolygon(svgPointsString: pointStrings!)
    }

    var pointStrings: String?
}

extension PolygonLoader: XMLParserDelegate {

            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 {
