added XML option