Implemented encoder