I have written 3 alerts to see if my function works properly.