Basic framework for walking through the dataset.