Elements of Monte Carlo + fanyhdr