updated simulator
updated simulator