added flash notifications