encoders is now a class data member