modified to use import data_exchange module