updated simulator java