added an xml parser