rearranging structure