revise code for return list of job discount.