One more swap, replace with swapAt