rearrangedg