introduced xml input and output