added BG subtraction but doesn't apply to int totals yet