Crashing on line 76 in montecarlo