added alerts on fail/success