more work on simulation-analysis example