starting to do output xml