added enumeration to the flash