group related flashes