Progress on code generation