Added parameters to the Encoder