added global template