restructure finished