in accordance with the contract