Rewrite the decoder
Tehe