record simulation results.