Deductions & credits

Solved in comments.