iterate by timestep model