a magical swapping