Trying to use C code