sequenceMatch works