Changed foreach( to foreach (