Discount_function loading ...