changed a single name decode_func => decode