added an external dataObj to be used