working loading and saving to xml