done with 1D and 2D Monte Carlo