Missed a spot to pass in the index