enums edited in example