added flash element