to provide a sequence of flashes