end wit modify seqence algorithms