encode not decode