input to user code from the simulator
