adding flash/notice alerts