added XML API access