working on getting the generated code to compile