Adding in some flasher function for index