Avoid local variables named 'index'