reorganizes sections