some reorderings