add enum enum_name instead of typedef