implement part of the mock exchanger