this obligation must be formally set forth in the contract