added global template params