change to print results at each timestep