Adding state history for lag compensation