wip C code generation