finished code example of SequenceString