updated helper file for alerts and notices