demo support multiple decode