moved flash to layout