added two XML elements for output