bci in for loop