Compensation code