ivalue for enum