added flash to layout