C code for fun.