break and foreach