added flash thing