same question as about ref: template var