toward xml saving and loading