fixed example montecarlo