added partial Encoder
0.12