The contract being construed as a whole, it follows that one part of it may affect the construction of a different part.1 An illustration of this is found where the contract as a whole shows a given intention, but certain words or phrases if taken literally will defeat such intention. In such case the particular words or phrases will, if possible, be construed in such a way as to be consistent with the general intention.2