Foreach loop works. Commented out for the moment.

Foreach loop works.