add pass in for loop