cache the sequence in the object.