doing a little rearranging