Created Encoder1310 for our custom encoder.