Do some rearranging