adding flash alerts and notices