forgot to add simulator.c