considering the template is already parsed