integral procedure from book