Rearranging pins