Enumeration Order converted into class