head reordering