added inputsimulator