notes about loops and dynamic variable references