added alerting