Enumeration for Format

made an enumeration in order to clean things up