added flash effect