rename
BUG: first equal item in first sequence