add line to save MCMC output