done the simulate