add original C code