Added 'break' for a loop