add a new alert method