changed alerts to screen messages