Then in any such event, and without prejudice to any other rights and remedies including the right to treat this Sub-Contract as repudiated by the Sub-Contractor under the general law, MacDow may, by written notice to the Sub-Contractor, determine forthwith the Sub-Contractor's employment under this Sub-Contract and may expel the Sub-Contractor from the Sub-Contract Works and take over all the plant, equipment and materials provided by or on behalf of the Sub-Contractor which are on the Site of the Sub-Contract Works or are being used in connection therewith and may use the same to complete or have completed the Sub-Contract Works.
24.2 The Sub-Contractor shall pay to MacDow the amount of any and all loss, damages, costs and expense caused to MacDow by reason of such determination. Until after completion of the Sub-Contract Works MacDow shall not be bound to make further payment to the Sub-Contractor but upon such completion and within a reasonable time thereafter MacDow shall ascertain the amount of expense reasonably incurred in completing the Sub-Contract Works and the amount of loss, damages, costs and expense caused to MacDow by reason of the determination and if such amounts when added to the monies paid to the Sub-Contractor before the date of determination exceed the total amount which would have been payable on due completion in accordance with this Sub-Contract the difference shall be a debt payable to MacDow by the Sub-Contractor; and if the said amounts when added to the said monies do not exceed the said total amount then the money payable to the Sub-Contractor shall be the lesser of:
a) the difference between
(i) the said amounts when added to the said monies; and
(ii) the said total amount; or
b) the aggregate of:
(i) the value of any work actually and properly executed and not paid for at the date of such determination, such value to be calculated according to clause 14;
(ii) the value of any unfixed goods and materials which were taken over by MacDow on determination and used by MacDow and a fair payment for hire of such of the Sub-Contractor's plant as were used by MacDow, in completing or having completed the Sub-Contract Works.
Notwithstanding anything else herein, no sums shall be payable to or credited to the Sub-Contractor following determination under clause 24.1, until MacDow is in receipt from the Employer of a payment which includes such sums.
24.3 If for any reason MacDow's employment under the Head Contract is determined (whether by MacDow or the Employer and whether due to any default of MacDow or otherwise) then the employment of the Sub-Contractor under this Sub-Contract shall thereupon also de [sic] determined automatically.
24.4 Unless the determination of the Head Contract was caused or contributed to by any default or breach of contract the Sub-Contractor (in which event the Sub-Contractor shall be liable to MacDow for damages on the same basis as if the Sub-Contractor had wrongfully repudiated the Sub-Contract) or unless MacDow was entitled at time of determination of the Head Contract to exercise its right of determination under clause 24.1 (whether or not any act or default of the Sub-Contractor caused or contributed to the determination of the Head Contract, the Sub-Contractor shall be paid (after allowing for any previous payment):