subject to the terms of the contract