Fixed error that was calculating a - 10 instead of a - column_amount