some changes to code redemption