calculator_for_exchanges_3