trying to get alerts to work part 1