Have codes working. Needs encode/decode