revising integration part