updated documentation on relativeDiscount()