Working on implementation of double en/decoding.