fail-safe for montecarlo / refactring / output updated