added stuff to xmlsaver