How do deductions work