define "namespace" for variables defined in for loops