now the alert template can be used globally