add writing xml
test