Deductions & credits

So it seems like if I contribute $4,000 to a DCAP, and our expenses are $15,000, I would have $11,000 of qualifying expenses for the CDCTC- because limit is $8,000 and our expenses are still above that even after the DCAP, I could expect 50%, aka $4,000, of tax credit (which I understand is refundable)?