Deductions & credits

I found the worksheet 1-1 on the IRS website. I thought that charitable contributions reduced AGI when calculating MAGI.