add stuff to xml for debugging