now we encode/decode on the same premises