oops again, should be encode not decode