Exception added
Foreach works