pursuant to the law of damages