private void extractCircle(XMLEventReader xrd) throws XMLStreamException {
        XMLEvent xev = xrd.nextTag();
        if (xev.isStartElement() && xev.asStartElement().getName().getLocalPart().toLowerCase().contains("pos")) {
            // skip attributes,comments and whitespace
            do {
                xev = xrd.nextEvent();
            } while (xrd.hasNext() && !xev.isCharacters());
            // extract center coords
            StringBuilder cenRad = new StringBuilder(xev.asCharacters().getData());
            // skip to radius
            xev = xrd.nextTag();
            xev = xrd.nextTag();
            if (xev.isStartElement() && xev.asStartElement().getName().getLocalPart().toLowerCase().contains("radius")) {
                // skip attributes,comments and whitespace
                do {
                    xev = xrd.nextEvent();
                } while (xrd.hasNext() && !xev.isCharacters());
                // extract center coords
                cenRad.append(' ').append(xev.asCharacters().getData());
            }
            // store center coords and radius
            ArrayList<String> centerRadius = shapeCoordString.get(Shapes.CIRCLE);
            // see if there are similar shapes
            if (centerRadius == null) {
                // no similar shape create list of coords
                centerRadius = new ArrayList<>();
                shapeCoordString.put(Shapes.CIRCLE, centerRadius);
            }
            // add coords to list of shape
            centerRadius.add(cenRad.toString());
        }
    }