added alerts to indicate actions