working on enums for code generator