revert the rdiscount thing