Add reference to a for-loop iterator variable