added flash preview part 2