shift util functions into scope to access dataObj