added code to generate a table of enumerations