integrate the step