adding an alert