started full montecarlo code