attempted encoding/decoding