reorganize hedlines