Simplify decoding process