crazy code generation