added break to for