add sequence indexing example