added variable for the template resource