don't use GLOBAL, just pass the dataObj around