designing the alerts