iterating through a collection of seconds