Added break to for loop