revision on 'for loop'