detecting flash . . .