I will make the required corrections but can the results also be used to determine the items of the dataset within the loop?