working xml return