extend template: