completed more code generation + research C code