working out bugs in exchange helper