Use BREAK instead of changing the counter variable