lol encode, not decode