integrate history data part 3