rename setDecode to setDecoder