In a personal injury action, the trial court ordered prejudgment interest to be calculated on the entire judgment. On appeal, defendant argued that pursuant to Civil Code section 3291, prejudgment interest should have been awarded only on the damages that the jury awarded. In reversing, the appellate court stated: “We think it clear that the purpose of Civil Code section 3291 is to compensate plaintiffs for the loss of use of the money awarded for personal injury damages, not for the loss of use of money for costs.” (Bean v. Pacific Coast Elevator Corp. (Cal. App. Fourth Dist., Div. 1; March 10, 2015) 234 Cal.App.4th 1423, [185 Cal.Rptr.3d 63].)