new file:   sim.c~