trying to call 'set' instead of .xdata_ref =