register enum