Reorganizing the majority of the document