basic functions in Enum