added some comments at the point where the code fills out the lines of the new data set