more fun with generating code