CalculateDiscount method reworked