made it use a DE for discounting