accumulate add sequence