moved SeqDataDiff to outside impl