example for enum manipulation