Included each loop with break functionality