add decoder class