Swapping the logic.