Encode trying