index vs tableIndex?
Unless there is some good reason, I try not to change the names of local variables when they get passed into a function.
It takes less thinking to reference them in the debugger when I am browsing up and down the stack.