documenting for-each