putting date on each iteration