create variables for template