monte carlo simulation fixed