monte-carlo simulation not working yet