Building the swap