Change encoder function name