test hook
add decode result mode