add sequence fun.