added two different alerts