implemented extradata like trailer