replaced swap with swaps