iterating and numbering