add taxonomy template to functions