new_decoder working