added flash warnings