[ADD] Added redeem algorithm