add direct exchange code