Commented the C code.