Working decoder.