added flash elements