add buildPactRecord