additional work on createQueriedMacroDataset function