added template variables for widget