add addtion for decoding.