added XML reader