added template variable