Introducing foreach and array and breaks