removed global variable SIMULATION