final structure with flash