relating to the law of damages