obligation to compensate damage