refactoring arbitrage