MonteCarlo works correctly