discount integration work in progress