removed use of sequenceIndex