add documentation for for-loop iterator
cosmetic change to match code style