finishing the swap to the standard stak class