Finished code generation