Swap back implementation