Where it has been agreed that the insurer is to pay out a capital sum, sections 159 and 160 apply accordingly.