Working on the ClassCalculate for calculating discounts