Adding the extra encoding