because once the condition is met, i want to quit the 'for loop'