attribute saving and modifying restructure