Changed $discount to $discounts