Start working on csim.c