Narrow scope of numVars.