How North Carolina can compensate teachers