Lines 75 through 84 reference oj$logmove which is not part of oj.csv data and isn't established in the previous code.