Reimplemented dection decoder