Completed swapPairs