ADD: set variables to the template