changed depth function. Added Arbitrage ability.