added flash alerts and notices