add some alerting functions