CVS surprises nonprofits with millions in funding