adding flashes