yes, the loop index is made private automatically as long as it is declared in the loop header, if it is declared previously there can be problems of course and it needs to be declared private in the pragma