added flash notices