text restructuring