more decode/encode