added flash message