document restructure