differential theory on measure of damages