changed simualtion