simplify sequence