added variable names to template