Change the main invocation loop variable from i to j