Introduce more variables in template