process only first contract in document