Aid quality is just as important as aid quantity, so the CDI measures gross aid as a share of GNI adjusted for various quality factors: it subtracts debt service, penalizes “tied” aid that makes recipients spend aid only on donor goods and services, rewards aid to poor but relatively uncorrupt recipients, and penalizes overloading poor governments with many small projects.