code generation discussion