added GetEnumNameValue() function