how to build a block swapper