added debugging statements for data exchanger bug