fixed data_exchange.py