Decoder and its application