rearranging figures