Example code generator