added an indexer to Sequence