Change seq to sequence and introduce seq which is flip(cmp)