A Bucks County, Pa., judge has approved a $2 million settlement in a class action that challenged a top Pennsylvania tax-collection agency’s right to assess to individual taxpayers the costs of recovering unpaid local taxes.

However, class counsel Bernard Gross of Philadelphia said that since only slightly more than 600 of the roughly 117,000 potential class members opted to actually join the class, hundreds of thousands of dollars will likely be paid to two local charities approved by Bucks County Common Pleas Judge C. Theodore Fritsch Jr. as part of the settlement agreement.