Monte Carlo testing added