putting alerts to debug