use the template_name in card