small BL changes to for-each statement.