DETECTING FLASH..