C code part 1